const mongoose = require("mongoose");
const CategorySchema = new mongoose.Schema(
    {
        title: { type: String },
        cover: { type: String },
        orderIndex: { type: Number },
    },
    { timestamps: { createdAt: "createTime", updatedAt: "updateTime" } }
);
module.exports = mongoose.model("Category", CategorySchema);
